{include file="pub_start.htm"}
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<div class="out_table">
<table width="100%" height="80" cellpadding="0" cellspacing="0" border="0" align="center" class="header">
  <tr>
    <td align="left"><img src="{$dir_images}/logo_banner.gif" border="0"></td>
  </tr>
</table>
</div>

<div class="out_table">
{if $member.iflogin == "1" && $member.mg_ag_id > 0}
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="mainmenu">
  <tr>
    <td align="left" nowrap>&nbsp;
     &raquo; {$member.username}
        <a href="admin.php" target="_blank">[后台管理]</a>
      | <a href="index.php?act=login&ope=logout" target="_self">退出</a>
      | <a href="index.php?act=cp" target="_self">会员中心</a>
    </td>
    <td align="right" nowrap>
      <a href="index.php?act=help" target="_self">帮助</a>
      | <a href="index.php?act=member_list" target="_self">会员列表</a>
    &nbsp;</td>
  </tr>
</table>
{elseif $member.iflogin == "1"}
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="mainmenu">
  <tr>
    <td align="left" nowrap>&nbsp;
      &raquo; {$member.username}
      | <a href="index.php?act=login&ope=logout" target="_self">退出</a>
      | <a href="index.php?act=cp" target="_self">会员中心</a>
    </td>
    <td width="50%" align="right">
      <a href="index.php?act=help" target="_self">帮助</a>
      | <a href="index.php?act=member_list" target="_self">会员列表</a>
    &nbsp;</td>
  </tr>
</table>
{else}
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="mainmenu">
  <tr>
    <td align="left" nowrap>&nbsp;
    </td>
    <td align="right" nowrap>
      <a href="index.php?act=login" target="_self">登录</a>
      | <a href="index.php?act=register" target="_self">注册</a>
      | <a href="index.php?act=help" target="_self">帮助</a>
      | <a href="index.php?act=member_list" target="_self">会员列表</a>
    &nbsp;</td>
  </tr>
</table>
{/if}
</div>
